package com.ctu.gzero.edit
{
	public class SelectionFormat
	{
		private var _color:uint;
		private var _blendMode:String;		
		private var _alpha:Number;
		
		public function SelectionFormat(colr:uint, alpha:Number, blendMode:String )
		{
			_color = color;
			_alpha = alpha;
			_blendMode = blendMode;
		}
		
		public function get color():uint
		{
			return _color;
		}
		
		public function get blendMode():String
		{
			return _blendMode;
		}
		public function get alpha():Number
		{
			return _alpha;
		}
		
		public function equals(_selectionFormat:SelectionFormat):Boolean 
		{
			if(_blendMode != _selectionFormat.blendMode)
			{
				return false;
			}
			if(_alpha != _selectionFormat.alpha) 
			{
				return false;
			}
			if(_color != _selectionFormat.color) 
			{
				return false;
			}
			return true;
		}

	}
}